<?php /*a:3:{s:64:"D:\phpstudy_pro\WWW\git\DSShop\app\admin\view\inviter\order.html";i:1591758938;s:64:"D:\phpstudy_pro\WWW\git\DSShop\app\admin\view\public\header.html";i:1571626691;s:69:"D:\phpstudy_pro\WWW\git\DSShop\app\admin\view\public\admin_items.html";i:1566788179;}*/ ?>
<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge">
        <title>DSShop单店铺商城系统后台</title>
        <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
        <link rel="stylesheet" href="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/css/admin.css">
        <link rel="stylesheet" href="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery-ui.min.css">
        <script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery-2.1.4.min.js"></script>
        <script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery.validate.min.js"></script>
        <script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery.cookie.js"></script>
        <script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/common.js"></script>
        <script src="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/js/admin.js"></script>
        <script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery-ui.min.js"></script>
        <script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery.ui.datepicker-zh-CN.js"></script>
        <script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/perfect-scrollbar.min.js"></script>
        <script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/layer/layer.js"></script>
        <script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/dialog/dialog.js" id="dialog_js" charset="utf-8"></script>

        <script type="text/javascript">
            var BASESITEROOT = "<?php echo htmlentities(BASE_SITE_ROOT); ?>";
            var ADMINSITEROOT = "<?php echo htmlentities(ADMIN_SITE_ROOT); ?>";
            var BASESITEURL = "<?php echo htmlentities(BASE_SITE_URL); ?>";
            var HOMESITEURL = "<?php echo htmlentities(HOME_SITE_URL); ?>";
            var ADMINSITEURL = "<?php echo htmlentities(ADMIN_SITE_URL); ?>";
        </script>
    </head>
    <body>
        <div id="append_parent"></div>
        <div id="ajaxwaitid"></div>








<div class="page">
    <div class="fixed-bar">
        <div class="item-title">
            <div class="subject">
                <h3><?php echo htmlentities(lang('ds_inviter_set')); ?></h3>
                <h5></h5>
            </div>
            <?php if($admin_item): ?>
<ul class="tab-base ds-row">
    <?php if(is_array($admin_item) || $admin_item instanceof \think\Collection || $admin_item instanceof \think\Paginator): if( count($admin_item)==0 ) : echo "" ;else: foreach($admin_item as $key=>$item): ?>
    <li><a href="<?php echo htmlentities($item['url']); ?>" <?php if($item['name'] == $curitem): ?>class="current"<?php endif; ?>><span><?php echo htmlentities($item['text']); ?></span></a></li>
    <?php endforeach; endif; else: echo "" ;endif; ?>
</ul>
<?php endif; ?>
        </div>
    </div>

    <form method="get" name="formSearch" id="formSearch">
        <div class="ds-search-form">
            <dl>
                <dd>
                    <select name="search_field_name" >
                        <option <?php if($search_field_name == 'orderinviter_member_name'): ?>selected='selected'<?php endif; ?> value="orderinviter_member_name"><?php echo htmlentities(lang('inviter_name')); ?></option>
                        <option <?php if($search_field_name == 'orderinviter_order_sn'): ?>selected='selected'<?php endif; ?> value="orderinviter_order_sn"><?php echo htmlentities(lang('order_number')); ?></option>
                    </select>
                </dd>
                <dd>
                    <input type="text" value="<?php echo htmlentities($search_field_value); ?>" name="search_field_value" class="txt">
                </dd>
            </dl>
            <div class="btn_group">
                <input type="submit" class="btn" value="搜索">
                <?php if($filtered): ?>
                <a href="<?php echo url('Inviter/order'); ?>" class="btn btn-default" title="<?php echo htmlentities(lang('ds_cancel')); ?>"><?php echo htmlentities(lang('ds_cancel')); ?></a>
                <?php endif; ?>
            </div>
        </div>
    </form>


    <table class="ds-default-table">
      <thead>
        <tr class="thead">
          <th class="align-center"><?php echo htmlentities(lang('inviter_name')); ?></th>
          <th class="align-center"><?php echo htmlentities(lang('money')); ?></th>
          <th class="align-center"><?php echo htmlentities(lang('remark')); ?></th>
          <th class="align-center"><?php echo htmlentities(lang('order_number')); ?></th>
          <th class="align-center"><?php echo htmlentities(lang('valid')); ?></th>
          <th class="align-center"><?php echo htmlentities(lang('addtime')); ?></th>
        </tr>
      </thead>
      <tbody>
        <?php if(!(empty($orderinviter_list) || (($orderinviter_list instanceof \think\Collection || $orderinviter_list instanceof \think\Paginator ) && $orderinviter_list->isEmpty()))): if(is_array($orderinviter_list) || $orderinviter_list instanceof \think\Collection || $orderinviter_list instanceof \think\Paginator): if( count($orderinviter_list)==0 ) : echo "" ;else: foreach($orderinviter_list as $k=>$v): ?>
        <tr class="hover member">
 
          <td class="align-center"><?php echo htmlentities($v['orderinviter_member_name']); ?></td>
              <td class="align-center"><?php echo htmlentities(lang('currency')); ?><?php echo htmlentities($v['orderinviter_money']); ?></td>
          <td class="align-center"><?php echo htmlentities($v['orderinviter_remark']); ?></td>
          <td class="align-center"><?php echo htmlentities($v['orderinviter_order_sn']); ?></td>
          <td class="align-center"><?php if($v['orderinviter_valid']): ?><?php echo htmlentities(lang('ds_yes')); else: ?><?php echo htmlentities(lang('ds_no')); ?><?php endif; ?></td>
          <td class="align-center"><?php echo htmlentities(date('Y-m-d',!is_numeric($v['orderinviter_addtime'])? strtotime($v['orderinviter_addtime']) : $v['orderinviter_addtime'])); ?></td>
          
        </tr>
        <?php endforeach; endif; else: echo "" ;endif; else: ?>
        <tr class="no_data">
          <td colspan="11"><?php echo htmlentities(lang('ds_no_record')); ?></td>
        </tr>
        <?php endif; ?>
      </tbody>
      
    </table>
    <?php echo $show_page; ?>

</div>
